/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.bluelinelabs.conductor.demo.util;

import java.util.Arrays;

/**
 * lipeiquan
 *
 * @since 2021-05-06
 */
public class RootItemMessage {
    int[] imageLocation;
    int[] textLocation;
    int imageColor;
    String text;
    int imageHeight;
    int imageWidth;
    int textHeight;
    int textWidth;

    @Override
    public String toString() {
        return "RootItemMessage{" +
            "imageLocation=" + Arrays.toString(imageLocation) +
            ", textLocation=" + Arrays.toString(textLocation) +
            ", imageColor=" + imageColor +
            ", text='" + text + '\'' +
            ", imageHeight=" + imageHeight +
            ", imageWidth=" + imageWidth +
            ", textHeight=" + textHeight +
            ", textWidth=" + textWidth +
            ", textSize=" + textSize +
            '}';
    }

    public int getTextHeight() {
        return textHeight;
    }

    public void setTextHeight(int textHeight) {
        this.textHeight = textHeight;
    }

    public int getTextWidth() {
        return textWidth;
    }

    public void setTextWidth(int textWidth) {
        this.textWidth = textWidth;
    }

    public int getTextSize() {
        return textSize;
    }

    public void setTextSize(int textSize) {
        this.textSize = textSize;
    }

    int textSize;

    public int getImageHeight() {
        return imageHeight;
    }

    public void setImageHeight(int imageHeight) {
        this.imageHeight = imageHeight;
    }

    public int getImageWidth() {
        return imageWidth;
    }

    public void setImageWidth(int imageWidth) {
        this.imageWidth = imageWidth;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int[] getImageLocation() {
        return imageLocation.clone();
    }

    public void setImageLocation(int[] imageLocation) {
        this.imageLocation = imageLocation.clone();
    }

    public int[] getTextLocation() {
        return textLocation.clone();
    }

    public void setTextLocation(int[] textLocation) {
        this.textLocation = textLocation.clone();
    }

    public int getImageColor() {
        return imageColor;
    }

    public void setImageColor(int imageColor) {
        this.imageColor = imageColor;
    }
}
